package com.youle.robots.user;

import com.alibaba.dubbo.spring.boot.annotation.EnableDubboConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableDubboConfiguration
@EnableTransactionManagement
@MapperScan(basePackages = "com.youle.robots.user.dao")
@SpringBootApplication
@ComponentScan(basePackages = "com.codingapi.tx")
public class RobotsUserServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(RobotsUserServiceApplication.class, args);
    }
}
